@echo off
REM ---------
REM auto compile
REM ---------

SET TEX_CMD_DIR=
SET ROOT_FILE=er9x-user-guide-chinese

pdflatex %ROOT_FILE%
pdflatex %ROOT_FILE%
gbk2uni %ROOT_FILE%.out
pdflatex %ROOT_FILE%

sumatrapdf %ROOT_FILE%.pdf

exit 0
